package com.example.javadesign.factory.factorymethod;

/**
 * @author 陳樂
 * @version 1.0.0
 * @ClassName Main.java
 * @Description TODO
 * @createTime 2022年08月13日 22:56:00
 */
public class Main {

    public static void main(String[] args) {
        ICourseFactory courseFactory= new JavaCourseFactory();
        ICourse course = courseFactory.create();
        course.record();

    }
}
